<?php
/**
 * 品牌类别block文件
 *
 * @author		Arthur(ArthurXF@gmail.com)
 * @copyright	(c) 2006 by bizeway.com
 * @version		$Id$
 * @package		ArthurXF
 * @subpackage	product
 */
if (is_object($objWebInit)) {
	if(!isset($objproduct)){
		include_once(__WEB_ROOT.'/product/class/product.class.php');
		include_once(__WEB_ROOT.'/product/config/var.inc.php');
		$objproduct =& new product();
		$objproduct->setDBG($arrGPdoDB);
		if(is_object($objWebInit->db)) $objproduct->db = $objWebInit->db;
		else $objproduct->db();
	}
	$arrTopInfo = array();
	$arrTopInfo = $objproduct->getTypeTileWithBrand("where t2.brand_id = '$_GET[brand_id]'",' ORDER BY t1.initial');

	//print_r($arrTopInfo);
	// 输出到模板
	$arrMOutput["smarty_assign"]['arrChildType'] = $arrTopInfo;
}
?>